package geguol.cc.widgetapplication.adapter;

import android.app.Activity;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageButton;
import android.widget.TextView;

import geguol.cc.widgetapplication.R;

/**
 * 作者  格锅
 * 时间  2017/5/9 14:10
 * 文件  WidgetApplication
 * 描述
 */

public class BasePager {
	Activity activity;
	public View mRootPager;
	public TextView titltView;
	public FrameLayout contentFrame;
	public ImageButton btn_menu;



	public BasePager(Activity activity) {
		super();
		this.activity = activity;
		initView();
	}


	public void initView() {
		mRootPager = View.inflate(activity, R.layout.pager_layout, null);
		titltView = (TextView) mRootPager.findViewById(R.id.pg_title);
		contentFrame = (FrameLayout) mRootPager.findViewById(R.id.rootpager_framelayout);
		btn_menu= (ImageButton) mRootPager.findViewById(R.id.btn_menu);
	}
	public void initDate() {

	}

}
